import * as ElementPlusIconsVue from '@element-plus/icons-vue'

const install = (vApp) => {
  // 从 @element-plus/icons-vue 中导入所有图标并进行全局注册
  for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    vApp.component(key, component)
  }
}

export default install
